#pragma once
#include "afxwin.h"
#include "afxdtctl.h"



// CControlSellView form view

class CControlSellView : public CFormView
{
	DECLARE_DYNCREATE(CControlSellView)

protected:
	CControlSellView();           // protected constructor used by dynamic creation
	virtual ~CControlSellView();

public:
	enum { IDD = IDD_FORMVIEW_INFO };
#ifdef _DEBUG
	virtual void AssertValid() const;
#ifndef _WIN32_WCE
	virtual void Dump(CDumpContext& dc) const;
#endif
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual void OnInitialUpdate();
public:
	CString m_sName;
	CComboBox m_ctrlSex;
	CString m_sAddress;
	CString m_sPhone;
	COleDateTime m_sDate;

	bool m_bIsMobile;
	CString m_sEmail;
	CString m_sTailMail;
	CDateTimeCtrl m_ctrlDataTime;
	CDateTimeCtrl m_ctrlToday;
	CEdit m_ctrlName;
	CString m_sCode;
	afx_msg void OnEnChangeEName();
	afx_msg void OnBnClickedNew();
	afx_msg void OnBnClickedButAdd();
	CButton m_ctrlCheck;
	CMFCButton m_but_print;
	afx_msg void OnBnClickedButSell();
	afx_msg void getListCustomer(NMHDR *pNotifyStruct, LRESULT* pResult);
	CButton m_but_find;
	CString m_sCodeBill;
	COleDateTime m_dateToday;	
	afx_msg void OnBnClickedCheckSellType();
};


